<template>
  <div>
    <SearchPage @toSearch="toSearch" @filterResult="getFilter"/>
  </div>
</template>
<script>
import SearchPage from '../../search/SearchPage'
export default {
  components:{
    SearchPage
  },
  data(){
    return {
    }
  },
  methods:{
    toSearch(data){
      this.$emit('toSearch',data)
    },
    getFilter(data){
      // this.results = data
      // console.log(data);
      this.$emit('filterResult',data)
    },
  },
}
</script>